package com.myapp.war.beans;

public class WarTowerBean {

	// 塔的id
	private int towerId = 0;

	// 塔的X位置
	private int x = 0;

	// 塔的Y位置
	private int y = 0;

	// 构建的时间
	private long buildTime = 0;

	public WarTowerBean(int towerId, int x, int y) {
		super();
		this.towerId = towerId;
		this.x = x;
		this.y = y;
		this.buildTime = System.currentTimeMillis();
	}

	public int getTowerId() {
		return towerId;
	}

	public void setTowerId(int towerId) {
		this.towerId = towerId;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public long getBuildTime() {
		return buildTime;
	}

	public void setBuildTime(long buildTime) {
		this.buildTime = buildTime;
	}

}
